package com.smart.campus.school.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smart.campus.common.annotation.Excel;
import com.smart.campus.common.core.domain.BaseEntity;

/**
 * app段配置项对象 sc_app_config
 * 
 * @author Zhihe.Li
 * @date 2020-12-02
 */
public class AppConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String img;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 跳转地址 */
    @Excel(name = "跳转地址")
    private String url;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("img", getImg())
            .append("title", getTitle())
            .append("url", getUrl())
            .append("remark", getRemark())
            .append("type", getType())
            .append("sort", getSort())
            .toString();
    }
}
